function executeAction(id) {
      var actionEle = document.getElementById(id);
      if (actionEle) actionEle.onclick();
      else alert('couldn\'t find the element');
}
